$(document).ready(function() {
	
	// Expand Panel
	$("#v-open").click(function(){
	
		$('div#v-panel').animate({
		    /*opacity: 'toggle',*/
		    width: 'toggle'
		}, "slow", function() {
		    // Animation complete.
		});

		$("#v-open").css("display", "none");
		$("#v-close").css("display", "block");
	});	
	
	// Collapse Panel
	$("#v-close").click(function(){
	
		$('div#v-panel').animate({
		    /*opacity: 'toggle',*/
		    width: 'toggle'
		}, "slow", function() {
		    // Animation complete.
		});

		$("#v-open").css("display", "block");
		$("#v-close").css("display", "none");
	});

// Switch buttons from "Log In | Register" to "Close Panel" on click
    /*
	$("#v-toggle a").click(function () {
		$("#v-toggle a").toggle();
	});		
		*/
});